import { IWinConfig } from '@/components/win-content'
import { IIconInfo } from '@/components/desktop-icon'

export interface IWindowStore {
  h: number
  w: number
  winConfigs: IWinConfig[]
  winIndex: number
  currentActiveId: number
  currentActivePath: string
  desktopIconList: IIconInfo[]
  recycleBin: IIconInfo[]
}


export interface ILoginStore {
  username: string
  password: string
}

export interface IUserInfo {
  username: string
  password: string
  nickname?: string
  signature?: string
  avatar?: string
  msg?: any
  friends?: any[]
}
export interface IChatStore {
  userInfo: IUserInfo
}
